package sample;

import com.sun.prism.paint.Color;
import javafx.application.Application;

import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.stage.StageStyle;

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
        Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
        Scene scene = new Scene(root);
        primaryStage.initStyle(StageStyle.UNDECORATED);
        primaryStage.setScene(scene);
        primaryStage.show();
//        Parent root2 = FXMLLoader.load(getClass().getResource("sample2.fxml"));
//        Scene scene2 = new Scene(root2);
//        primaryStage.initStyle(StageStyle.UNDECORATED);
//        primaryStage.setScene(scene2);
//        primaryStage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }
}




